python stock market analysis automation